ServerApplication<application‑number>

String, String, Integer, String (schema‑name, application‑name[, time[, initialize‑method]])

Not specified

Purpose

The ServerApplication<application‑number> parameter specifies the non‑GUI server application that is executed when the server node initializes or at the time specified by the optional time variable.

The optional initialize‑method variable has a maximum length of 250 characters and cannot contain commas. If the method requires a String or Object parameter, it must be specified as shown in the following example.

ServerApplication1 = RootSchema, JadeRpsDataPump, , setApplicationSkin(null)

The initialize method should not use any Graphical User Interface (GUI) facilities and should not invoke printing services.

The application‑number variable of the first server application parameter must start at 1, with the variable in other parameters, if any, having unique consecutive numbers; that is, ServerApplication2, ServerApplication3, and so on.

Each non-GUI server application specified in a ServerApplication<application‑number> parameter that is to be started when the server node initializes executes the initialize method defined for the application or specified in the initialize‑method variable. When this execution has completed, client nodes can connect. The application continues execution until it terminates by itself or the database server node stops its execution. To start the non‑GUI server application at a specific time, specify the optional integer time variable as a four‑digit number, representing the start time of the application in a 24‑hour time format, with valid values in the range 0000 through 2359.

For details about the automatic initiation of applications in a JADE system running on a secondary database in an SDE, see "Automatically Starting Server Applications in Secondary Systems", in Chapter 10 of the JADE Developer’s Reference.

Parameter is read when …

The database server node is next initialized.

Hints

Server non-GUI applications are displayed in the JADE Monitor window as processes executing on the server node.

If you add or remove a ServerApplication<application‑number> parameter or you change any variable values for timed starts after the server has started, select the Synch Server Apps command from the JADE Remote Access Program File menu so that JADE reads the JADE initialization file again and caches the changed values.